﻿namespace WebPacker.Logger
{
	using System;

	public delegate string LogMessageBuilder();

	public interface ILogger
	{
		bool Enabled { get; set; }

		void Log(LogLevel logLevel, LogMessageBuilder messageBuilder);

		void LogException(LogLevel logLevel, LogMessageBuilder messageBuilder, Exception exception);
	}
}